<template>
  <a-card :bordered="false">
    <a-tabs default-active-key="1" @change="callback">
      <!-- TAB一、会议分组管理 -->
      <a-tab-pane key="1" tab="会议分组管理">
        <scSubjectMeetingGroupMana />
      </a-tab-pane>
      <!-- TAB二、会议记录 -->
      <a-tab-pane key="2" tab="会议记录" force-render>
        <scSubjectMeetingRecordList />
      </a-tab-pane>
    </a-tabs>

  </a-card>
</template>

<script>
import '@/assets/less/TableExpand.less'
// import { mixinDevice } from '@/utils/mixin'
// import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import scSubjectMeetingGroupMana from './ScSubjectMeetingGroupMana'
import scSubjectMeetingRecordList from './ScSubjectMeetingRecordList'

export default {
  name: 'ScSubjectMeetingGroupList',
  components: { scSubjectMeetingGroupMana, scSubjectMeetingRecordList },
  methods: {
    // tab页设置
    callback(key) {
      console.log(key)
    }
  }

  // mixins: [JeecgListMixin, mixinDevice]
  // data() {
  //   return {
  //     description: '会议组信息表管理页面',
  //     // 表头
  //     columns: [
  //       {
  //         title: '#',
  //         dataIndex: '',
  //         key: 'rowIndex',
  //         width: 60,
  //         align: 'center',
  //         customRender(t, r, index) {
  //           return parseInt(index) + 1
  //         }
  //       },
  //       {
  //         title: '会议组名称',
  //         align: 'center',
  //         dataIndex: 'groupName'
  //       },
  //       {
  //         title: '成员人数',
  //         align: 'center',
  //         dataIndex: 'groubmembers',
  //         width: 160
  //       },
  //       {
  //         title: '专题类型',
  //         align: 'center',
  //         dataIndex: 'topicType'
  //       },
  //       {
  //         title: '会议类型',
  //         align: 'center',
  //         dataIndex: 'groupType'
  //       },
  //       {
  //         title: '操作',
  //         dataIndex: 'action',
  //         align: 'center',
  //         fixed: 'right',
  //         width: 220,
  //         scopedSlots: { customRender: 'action' }
  //       }
  //     ],
  //     url: {
  //       list: '/subject/scSubjectMeetingGroup/list', // 分页列表查询
  //       delete: '/subject/scSubjectMeetingGroup/delete', // id删除
  //       deleteBatch: '/subject/scSubjectMeetingGroup/deleteBatch', // 批量删除
  //       exportXlsUrl: '/subject/scSubjectMeetingGroup/exportXls',
  //       importExcelUrl: '/subject/scSubjectMeetingGroup/importExcel'
  //     },
  //     dictOptions: {},
  //     superFieldList: []
  //   }
  // }
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>
